-- GENERATED SPELL FOR [Jurion the Deceiver] --


function spell0_16248(pUnit, Event) --@Shadow Word: Pain,n/a--
pUnit:FullCastSpellOnTarget(11639,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16248', 18000, 1)
end

function Sorts_16248(pUnit, Event)
local choix_sorts_16248 = math.random(0, 0)
if choix_sorts_16248 == 0 then
pUnit:RegisterEvent('spell0_16248', 1, 1)
end
end

function mob16248_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16248', math.random(1500, 3000), 1)
end

function mob16248_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16248_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16248_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16248, 1, 'mob16248_Action')
RegisterUnitEvent(16248, 2, 'mob16248_Leave')
RegisterUnitEvent(16248, 3, 'mob16248_Kill')
RegisterUnitEvent(16248, 4, 'mob16248_Die')
